package com.three.service;

import com.three.DAO.impl.SceneDAOImpl;
import com.three.entity.MobileCard;
import com.three.entity.Scene;
import org.junit.Test;

import static org.junit.Assert.*;

public class AddconsumInfoTest {

    @Test
    public void addconsumInfo() {
        AddconsumInfo ad=new AddconsumInfo();
        SceneDAOImpl sdi=new SceneDAOImpl();
        Scene scene=new Scene();
        scene.setId(1);
        scene=sdi.selectSenceById(scene);
        MobileCard mobileCard=new MobileCard();
        mobileCard.setCardNumber("13777004558");
        ad.AddConsumInfo(scene,mobileCard);
    }
}